\documentclass{ltxdoc}
\usepackage[UTF8,sub3section]{ctex}
\RequirePackage{hyperref}
\hypersetup{colorlinks=true,pdfstartview=FitH} 
\usepackage{enumitem}
\usepackage{xltxtra}
\usepackage{footmisc}
\begin{document}
   \DocInput{HGP.dtx}
\end{document}